<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>栏目名称</label>
              <span class=""></span>
              <input class="form-control" name="name" placeholder="请输入栏目名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>分类</label>
              <span class="">（栏目分类）</span>
                <select name="father_id" class="form-control">
                     <if condition="$info eq '' or $info['father_id'] eq 0">
                        <option value="0"  selected="selected">--顶级栏目--</option>                        
                    <else />    
                    {volist name='column_category_list' id='vo'}                  
                        <option value="{$vo['id']}" {notempty name="info['id']"}{if condition="$info['father_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >--{$vo['name']}--</option>                  
                    {/volist}
                     </if>
                </select>
            </div>
          </div>
            
        <div class="col-md-6">
            <div class="form-group">
              <label>栏目排序</label>
              <span class=""></span>
                <input class="form-control" name="sort" placeholder="请输入序号" value="{$info?$info['sort']|0:0}" type="text">
            </div>
        </div>
            
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>
        
      </div>
      </div>
</form>